<?php
/**
{
    "remarkCourseImgId": "INT //照片id",
    "rId": "INT //评论@foreign::tbl_remark_course; ",
    "imageFileId": "INT //图片ID@foreign::tbl_image_file;  @noList; @noView; ",
    "img": "VARCHAR //图片@image; ",
    "sort": "INT //排序",
    "status": "TINYINT //状态@status; 3::有效::@admin; 88::删除::@admin; @noLoad"
}
 */

class RemarkCourseimg extends Base
{
    
	public $remarkCourseImgId= '';//照片id
	public $rId= '';//评论@foreign::tbl_remark_course;
	public $imageFileId= NULL;//图片ID@foreign::tbl_image_file; @noList;@noView;
	public $img= NULL;//图片@image;
	public $sort= "0";//排序
	public $status= "0";//状态@status;3::有效::@admin;88::删除::@admin;@noLoad

    public $isDbData = false;

    public function __construct()
    {
        parent::__construct();
    }


    public function __get($name) {
        return $this->$name;
    }

    public function __set($name, $value) {
        if(!$this->isDbData){
            if(!in_array($name,$this->loadedFiled))$this->loadedFiled[] = $name;
        }

        $this->$name=$value;
        $this->arr[$name] = $value;
    }

    public  function table()
    {
        return 'tbl_remark_courseimg';
    }
    
    public  function key(){
        return 'remarkCourseImgId';
    }


    
    public static  function hideField()
    {
        return [];
    }
            
    public static  function skipField()
    {
        return [];
    }
            
    public static  function noViewField()
    {
        return array (  0 => 'imageFileId',);
    }
            
    public static  function jsonField()
    {
        return [];
    }
            
    public static  function noLoadField()
    {
        return array (  0 => 'status',);
    }
            
    public static  function deleteField()
    {
        return [];
    }
            
    public function className()
    {
        return 'RemarkCourseimg';
    }
    
    public  function field()
    {
        return array (  'remarkCourseImgId' =>   array (    0 => 'INT',    1 => 11,    2 => '照片id',  ),  'rId' =>   array (    0 => 'INT',    1 => 11,    2 => '评论@foreign::tbl_remark_course;',  ),  'imageFileId' =>   array (    0 => 'INT',    1 => 11,    2 => '图片ID@foreign::tbl_image_file; @noList;@noView;',  ),  'img' =>   array (    0 => 'VARCHAR',    1 => 512,    2 => '图片@image;',  ),  'sort' =>   array (    0 => 'INT',    1 => 11,    2 => '排序',  ),  'status' =>   array (    0 => 'TINYINT',    1 => 4,    2 => '状态@status;3::有效::@admin;88::删除::@admin;@noLoad',  ),);
    }


}